/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const systemGift = {
  path: '/systemGift',
  component: Layout,
  alwaysShow: true,
  name: '系统礼物',
  redirect: 'noredirect',
  meta: {
    title: '系统礼物',
    icon: 'component',
    resources: 'systemGift'
  },
  children: [
    {
      path: 'gift',
      component: () => import('@/views/system-manage/user'),
      name: '礼物管理',
      meta: { title: '礼物管理', icon: 'my-user', noCache: true, resources: 'gift' }
    },
    {
      path: 'role',
      component: () => import('@/views/system-manage/role'),
      name: '角色管理',
      meta: { title: '角色管理', icon: 'my-role', noCache: true, resources: 'role' }
    }
  ]
};

export default systemGift
